//public class Child extends Base{
//    public Child(String member){
//        //不写报错,子类会默认调用父类的构造器
//        super(member);
//    }
//}
public class Child extends Base {
    private int a = 123;
    public Child(){
    }
    public void test(){
        System.out.println(a);
    }
}